package com.ding.custommanagersys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ding
 * @since 2023-04-21
 */
@TableName("t_email")
public class Email implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "t_email_id", type = IdType.AUTO)
    private Integer tEmailId;

    private String tSend;

    private String tAcceptId;

    private String tContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String tCreateTime;

    public Integer gettEmailId() {
        return tEmailId;
    }

    public void settEmailId(Integer tEmailId) {
        this.tEmailId = tEmailId;
    }
    public String gettSend() {
        return tSend;
    }

    public void settSend(String tSend) {
        this.tSend = tSend;
    }
    public String gettAcceptId() {
        return tAcceptId;
    }

    public void settAcceptId(String tAcceptId) {
        this.tAcceptId = tAcceptId;
    }
    public String gettContent() {
        return tContent;
    }

    public void settContent(String tContent) {
        this.tContent = tContent;
    }
    public String gettCreateTime() {
        return tCreateTime;
    }

    public void settCreateTime(String tCreateTime) {
        this.tCreateTime = tCreateTime;
    }

    @Override
    public String toString() {
        return "Email{" +
            "tEmailId=" + tEmailId +
            ", tSend=" + tSend +
            ", tAcceptId=" + tAcceptId +
            ", tContent=" + tContent +
            ", tCreateTime=" + tCreateTime +
        "}";
    }
}
